#!/usr/bin/env python3
#-*- coding:utf-8 -*-

import sys
import os
import http.server
import webbrowser
   
print('Executando o servidor Web na pasta "{}"'.format(os.getcwd()))

if webbrowser.open('http://127.0.0.1:8000'):
    http.server.test(HandlerClass=http.server.CGIHTTPRequestHandler)
